html {
  box-sizing: border-box;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

#container {
  font-family: Meiryo, Tahoma, sans-serif;
  font-size: 12px;
  color: rgb(232 255 254);
  background-color: rgba(0 0 0 / 30%);
}

#source {
  display: none;
}

h3 {
  font-weight: normal;
  padding: 12px;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.ff-header {
  color: #ded7be;
  text-shadow: -1px 0 2px #795516, 0 1px 2px #795516, 1px 0 2px #795516, 0 -1px 2px #795516;
}

.ff-text {
  color: #e2ebf5;
  text-shadow: -1px 0 3px #217aa2, 0 1px 3px #217aa2, 1px 0 3px #217aa2, 0 -1px 3px #217aa2;
}

.combatants {
  padding: 0 6px 6px;
}

.encounter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 6px 1px;
  font-size: 12px;
  /* stylelint-disable-next-line property-no-vendor-prefix */
  -webkit-user-select: none;
}

.encounter-data {
  /* stylelint-disable-next-line property-no-vendor-prefix */
  -webkit-user-select: initial;
  line-height: 20px;
  display: inline-block;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.extra-details {
  padding: 2px 6px 6px 10px;
}

.collapsed .extra-details {
  display: none;
}

.extra-row {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.extra-details .cell {
  margin-right: 4px;
}

.extra-details .label {
  font-weight: 400;
  margin-right: 4px;
}

.extra-details .value {
  font-weight: 200;
  margin-right: 4px;
}

.chart-view-switcher {
  border-radius: 2px;
  cursor: pointer;
  margin-left: 6px;
  padding: 2px 4px;
  text-align: center;
  width: 50px;
  color: #eee;
  font-size: 10px;
  font-weight: normal;
  background-color: #2a81d7;
  box-shadow: inset 0 1px 0 0 #62b1e9;
  border-top: 1px solid #2a73a6;
  border-right: 1px solid #165899;
  border-bottom: 1px solid #07428f;
  border-left: 1px solid #165899;
  text-shadow: 0 -1px 1px #1d62ab;
}

.chart-view-switcher:active {
  background: #3282d3;
  border: 1px solid #154c8c;
  border-bottom: 1px solid #0e408e;
  box-shadow: inset 0 0 6px 3px #1657b5, 0 1px 0 0 #000;
  text-shadow: 0 -1px 1px #2361a4;
}

.target-name {
  cursor: pointer;
  font-weight: 400;
  margin-right: 4px;
  padding: 2px 4px;
  position: relative;
}

.target-name:hover {
  box-shadow: inset 0 0 6px 3px #333, 0 1px 0 0 #000;
  border-radius: 6px;
}

li {
  position: relative;
  margin: 0;
  margin-bottom: 2px;
  padding: 0;
  height: 20px;
}

li:last-child {
  margin-bottom: 0;
}

.self {
  background-color: rgba(0 0 0 / 50%);
  font-weight: bold;
}

.text-overlay {
  font-size: 11px;
  position: absolute;
  top: 0;
  color: rgba(255 255 255 / 100%);
  text-shadow:
    -1px 0 2px rgba(0 0 0 / 60%),
    0 1px 2px rgba(0 0 0 / 60%),
    1px 0 2px rgba(0 0 0 / 60%),
    0 -1px 2px rgba(0 0 0 / 60%);
  background-color: rgba(0 0 0 / 0%);
  left: 0;
  right: 4px;
  bottom: 0;
  z-index: 10;
  line-height: 20px;
  overflow: hidden;
}

.info {
  overflow: hidden;
  white-space: nowrap;
}

.row .stats {
  float: right;
  margin-left: 4px;
  white-space: nowrap;
}

.row .additional {
  margin-right: 4px;
}

.row .total {
  margin-right: 4px;
}

.row .ps {
  margin-right: 4px;
}

.bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(42 112 132 / 60%);

  /* border: 1px solid rgb(40 93 141); */

  /* border-radius: 6px 2px 2px; */
  transition: width 0.4s ease-in-out;
}

.inactive .bar {
  background-color: #d8dadb;
}

.show-job-colors .pgl .bar,
.show-job-colors .mnk .bar {
  background-color: rgb(214 156 0);
}

.show-job-colors .acn .bar,
.show-job-colors .smn .bar {
  background-color: rgb(45 155 120);
}

.show-job-colors .lnc .bar,
.show-job-colors .drg .bar {
  background-color: rgb(65 100 205);
}

.show-job-colors .cnj .bar,
.show-job-colors .whm .bar {
  background-color: rgb(235 220 200);
}

.show-job-colors .thm .bar,
.show-job-colors .blm .bar {
  background-color: rgb(165 121 214);
}

.show-job-colors .rdm .bar {
  background-color: rgb(232 123 123);
}

.show-job-colors .sam .bar {
  background-color: rgb(228 109 4);
}

.show-job-colors .gnb .bar {
  background-color: rgb(121 109 48);
}

.show-job-colors .dnc .bar {
  background-color: rgb(226 176 175);
}

.show-job-colors .nin .bar,
.show-job-colors .rog .bar {
  background-color: rgb(175 25 100);
}

.show-job-colors .sch .bar {
  background-color: rgb(134 87 255);
}

.show-job-colors .arc .bar,
.show-job-colors .brd .bar {
  background-color: rgb(145 186 94);
}

.show-job-colors .gld .bar,
.show-job-colors .pld .bar {
  background-color: rgb(168 210 230);
}

.show-job-colors .mrd .bar,
.show-job-colors .war .bar {
  background-color: rgb(207 38 33);
}

.show-job-colors .drk .bar {
  background-color: rgb(239 134 24);
}

.show-job-colors .ast .bar {
  background-color: rgb(255 231 74);
}

.show-job-colors .mch .bar {
  background-color: rgb(110 225 214);
}

.show-job-colors .rpr .bar {
  background-color: rgb(150 90 144);
}

.show-job-colors .sge .bar {
  background-color: rgb(128 160 240);
}

.job-icon {
  float: left;
  margin-right: 4px;
  height: 20px;
}

.job-icon img {
  margin-top: 1px;
  height: 20px;
  width: 20px;
}

.character-job {
  margin-left: 4px;
  text-transform: uppercase;
  opacity: 0.6;
}

.character-name {
  padding-left: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.arrow {
  cursor: pointer;
  display: inline-block;
  height: 14px;
  width: 14px;
}

.arrow::after {
  clear: both;
  display: block;
  position: relative;
  top: 12px;
  left: 7px;
  content: "";
  height: 0;
  width: 0;
  padding: 0;
  margin: -4px;
  border: 4px solid transparent;
}

.arrow.down::after {
  border-top-color: #fff;
}

.arrow.up::after {
  top: 8px;
  border-bottom-color: #fff;
}

.hidden {
  display: none;
}

.dropdown-parent {
  position: relative;
}

.dropdown-menu {
  background-color: rgba(0 0 0 / 70%);
  position: absolute;
  top: 20px;
  left: 0;
  padding: 2px 4px;
  z-index: 100;
}

::-webkit-scrollbar {
  width: 6px;
  background-color: black;
}

::-webkit-scrollbar-thumb {
  border-radius: 4px;
  /* stylelint-disable-next-line property-no-vendor-prefix */
  -webkit-box-shadow: inset 0 0 6px rgba(0 0 0 / 100%);
  background-color: black;
}

::-webkit-scrollbar-track {
  /* stylelint-disable-next-line property-no-vendor-prefix */
  -webkit-box-shadow: inset 0 0 6px rgba(0 0 0 / 50%);
  border-radius: 4px;
  background-color: black;
}
